package cn.sjtu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

/**
 * @author syo 2319615164@qq.com
 * @description User实体类
 * @date 2024/10/5
 * @Copyright syo
 */
@Slf4j
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("t_user")
public class User implements Serializable {

    @TableId("id")
    private Long Id;

    @TableField(value = "username", exist = true)
    private String username;

    @TableField(value = "password", exist = true)
    private String password;

    @TableField(value = "fullname", exist = true)
    private String fullname;

    @TableField(value = "mobile", exist = true)
    private String mobile;
}
